As you already have Quartz locally, you don’t need to fork or clone it again. Simply just checkout the alpha branch, install the dependencies, and import your old vault.
git fetch
git checkout v4
git pull upstream v4
npm i
npx quartz create
If you get an error like fatal: 'upstream' does not appear to be a git repository, make sure you add upstream as a remote origin:
git remote add upstream https://github.com/jackyzha0/quartz.git
When running npx quartz create, you will be prompted as to how to initialize your content folder. Here, you can choose to import or link your previous content folder and Quartz should work just as you expect it to.
[!note] If the existing content folder you’d like to use is at the same path on a different branch, clone the repo again somewhere at a different path in order to use it.
hugo-obsidian: Hugo worked well for earlier versions of Quartz but it also made it hard for people outside of the Golang and Hugo communities to fully understand what Quartz was doing under the hood and be able to properly customize it to their needs. Quartz 4 now uses a Node-based static-site generation process which should lead to a much more helpful error messages and an overall smoother user experience.hugo-obsidian integrated with Hugo meant that watch mode didn’t re-trigger hugo-obsidian to update the content index. This lead to a lot of weird cases where the watch mode output wasn’t accurate. Quartz 4 now uses a cohesive parse, filter, and emit pipeline which gets run on every change so hot-reloads are always accurate.hugo to v4.content/<folder-name>/index.md where <folder-name> is the name of the folder.content/tags/<tag-name>.md where <tag-name> is the name of the tag.